/**
 * 渠道主自己的相关api
 */
angular.module('imsApp').factory('ChannelDataStatisticsManager', ['$http','api', 'paramsManager', function ($http,api, paramsManager) {
    var ChannelDataStatisticsManager = {
        
        channelDataList: function (params,query) {
            return $http.get(api+'/channel/channelStatList/'+paramsManager.params(params)+paramsManager.query(query)).then(function (result) {
                return result;
            });
        },
       appCampaignsList: function () {
            return $http.get(api+'/channel/simple/appCampaigns').then(function (result) {
                return result;
            });
        }

    }

    return ChannelDataStatisticsManager;
}]);
